<template>
    <div class="container">
        <n-button @click="onClick">权限</n-button>
    </div>
</template>

<script setup>
const props = defineProps({
    data: {
        type: Object,
        default: () => ({})
    }
});
const onClick = () => {
    console.log(`output->props.data`, props.data);
};
</script>
<style lang="less" scoped>
.container {
}
</style>
